import {
  FromList
} from './queryStatus'

import {
  listArr
} from './screen'



export async function educationalInformation(fromValue = {}) {
  const a = await listArr()
  const arr = [{
    type: 7,
    name: '照片',
    key: 'uploadFile',
    placeholder: '请上传本人照片'
  }, {
    type: 6,
    placeholder: '学历信息',
    url: '/address',
    query: {
      key: 'education',
      name: '学历信息'
    }
  }, {
    type: 6,
    placeholder: '职称',
    url: '/address',
    query: {
      key: 'theTitleTechnicalPost',
      name: '职称信息'
    }
  }, {
    type: 6,
    placeholder: '技能',
    url: '/address',
    query: {
      key: 'skill',
      name: '技能信息'
    }
  }]
  return arr.map(item => new FromList(item, fromValue))
}
export function educationalInformationClick(item, list) {
  return item
}